import req from '../utils/req'


export function login(username, password) {
  return req.post('/login', {
    username: username,
    password: password,
    rememberMe: true
  })
}


export function logout() {
  return req.post('/auth/auth/logout')
}
